package xuanke;
import java.util.*;

public class Teacher {
	Map teacher = new HashMap();
	
	public Teacher() {		  
		  teacher.put("1","工号：10001：老师：张老师：所授课程：Java");
		  teacher.put("2","工号：10002；老师：王老师；所授课程：Python");
		  teacher.put("3","工号：10003；老师：董老师；所授课程：高等数学");
		  teacher.put("4","工号：10004；老师：蓝老师；所授课程：电路与模拟电子技术");
		  teacher.put("5","工号：10005；老师：游老师；所授课程：线性代数");
		  teacher.put("6","工号：10006；老师：吕老师；所授课程：大学物理");
		 }
	
	public String out(String n) {
		String teachInfo = String.valueOf(teacher.get(n));
		return teachInfo;
	}
	
	public void ShowTeacher(String n) {
		System.out.println(teacher.get(n));
	}
}
